package com.etc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.etc.dao.HobbyMapper;
import com.etc.entity.Hobby;
import com.etc.service.HobbyService;
/**
 * 景点主题分类
 * @author Administrator
 *
 */
@Service
public class HobbyServiceImpl implements HobbyService{

	@Resource
	HobbyMapper hompper;
	
	//查询所有
	@Override
	public List<Hobby> findAllHobby() {
		
		return hompper.findAll();
	}
	
}
